package com.msmall.community.bbs.action.html;


import com.msmall.base.action.HTMLBaseAction;
import com.msmall.community.bbs.model.Board;
import com.msmall.community.bbs.model.Thread;
import com.msmall.community.bbs.model.Topic;
import com.msmall.community.common.CascadeCollection;

public class BBSBaseAction extends HTMLBaseAction{

	private static final long serialVersionUID = -4184459894717196768L;
	protected static final String SESSION_TOPIC_KEY = "SESSION_TOPIC_KEY";
	protected static final String SESSION_THREAD_KEY = "SESSION_THREAD_KEY";
	
	/**
	 * 当前版区ID
	 */
	protected Long bid;
	protected Board board;
	/**
	 * 当前主题帖ID
	 */
	protected Long tid;
	protected Topic topic;
	/**
	 * 当前回复ID
	 */
	protected Long hid;
	protected Thread thread;
	
	protected CascadeCollection<Board> boardCS;

	public Long getBid() {
		return bid;
	}

	public void setBid(Long bid) {
		this.bid = bid;
	}

	public Long getTid() {
		return tid;
	}

	public void setTid(Long tid) {
		this.tid = tid;
	}

	public Long getHid() {
		return hid;
	}

	public void setHid(Long hid) {
		this.hid = hid;
	}

	public Board getBoard() {
		return board;
	}

	public void setBoard(Board board) {
		this.board = board;
	}

	public Topic getTopic() {
		return topic;
	}

	public void setTopic(Topic topic) {
		this.topic = topic;
	}

	public Thread getThread() {
		return thread;
	}

	public void setThread(Thread thread) {
		this.thread = thread;
	}

	public CascadeCollection<Board> getBoardCS() {
		return boardCS;
	}

	public void setBoardCS(CascadeCollection<Board> boardCS) {
		this.boardCS = boardCS;
	}
}
